package jsyf.com.dao;

import org.springframework.stereotype.Repository;

import com.alibaba.fastjson.JSONObject;

/**
* @author: @韩武洽 @Wyshown
* @Version: V1.0.0
*/
@Repository
public class UserComDao extends BaseJdbcDao{

	private static final String SQL_SELECT_USER_INFO = "SELECT USER_ID, USER_NAME, ROLE_CODE, ORG_ID, DISABLE_FLAG FROM SYS_USER WHERE USER_ID = ?";

	/**
	 * @param userId
	* @Description: 方法描述,必填  <br/>
	* @return: com.alibaba.fastjson.JSONObject
	* @throw:
	* @author: @韩武洽 @Wyshown
	* @Version: V1.0.0
	*/
	public JSONObject getUserInfo(String userId){
		return this.queryForJsonObject(SQL_SELECT_USER_INFO, userId);
	}
	
	
}
